package com.lin.repository;

import com.lin.dataobject.Category;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * Created by Administrator on 2017/10/9.
 */
public interface CategoryRepository extends JpaRepository<Category,Integer>{
    Long countByPid(Integer pid);
}
